package com.example.service;

import com.example.common.Result;

import jakarta.servlet.http.HttpServletResponse;
import java.util.Map;

public interface StoreReportsService {
    
    /**
     * 获取店长报表数据
     */
    Result<Map<String, Object>> getStoreReportsData(String startDate, String endDate, String timeType);
    
    /**
     * 获取购买统计数据
     */
    Result<Map<String, Object>> getPurchaseStatistics(String startDate, String endDate);
    
    /**
     * 获取收入趋势数据
     */
    Result<Map<String, Object>> getRevenueTrend(String startDate, String endDate, String timeType);
    
    /**
     * 获取商品销量排行
     */
    Result<Map<String, Object>> getProductSalesRanking(String startDate, String endDate, int limit);
    
    /**
     * 获取客户分析数据
     */
    Result<Map<String, Object>> getCustomerAnalysis(String startDate, String endDate);
    
    /**
     * 导出报表数据
     */
    void exportStoreReportsData(String startDate, String endDate, HttpServletResponse response);
} 